Installation environmentYou must configure and install the PHP environment before installing PEAR.
(Directly access the http://go-pear.org and save its home page as a go-pear.php)
PEAR installation preparation
If the PHP runtime environment does
Installation EnvironmentYou need to configure the PHP environment before installing pear, if you don't have your own pear
(Direct access to http://go-pear.org and save its homepage for go-pear.php)
Pear Installation Preparation
If the PHP run
If PEAR is installed in Windows and PHPUnit is successful, the following installation steps are required: Windows + APMServ5.2.6PHP5 and above: 1. start Windows-& gt; run-& gt; cmd2 and install command d: cdD: APMServ5.2.6PHPD: APMServ5.2.6PHP & gt;
You can install pear in either of the following ways:1. Add the pear configuration module when compiling PHP.2. Go-pear mode.
I tried the go-pear method.Download the go-pear script
wget http://pear.php.net/go-pear
Rename:
mv go-pear
Open cmd,
C:\Documents and Settings\sun>d:
C:\Documents and SETTINGS\SUN>CD D:\www\php54//In this way into the Go-pear.phar storage path
d:\www\php54>php Go-pear.phar//Installation Go-pear.phar
Is you installing a system-wide PEAR or a local
In window, use pear to install phpunit1. install pear1) in the command line, enter the php installation directory, for example, my Directory D: phpZendZendServerbin. run go-pear if the following error occurs: pharD: install phpunit with pear in
Window, use pear to install phpunit1. install pear1) in the command line, enter the php installation directory, such as my Directory D: \ php \ Zend \ ZendServer \ bin, and run: if go-pear has the following error: phar "D: \ php \ Zend \ window, use
In window, use pear to install phpunit1. install pear1) in the command line, enter the php installation directory, for example, my Directory D: phpZendZendServerbin. run go-pear if the following error occurs: pharD: install phpunit with pear in
Install the pear module in PHP in centos and configure the virtual host to support the pear module.Wget http://pear.php.net/go-pearPHP go-Pear
PromptSorry! Your PHP version is too new (5.2.14) for this go-pear.Download New Version
Wget
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.